package com.lzh.others.collection.Map.entity;

import com.fasterxml.jackson.annotation.JsonIncludeProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * OBD混合动力电动车辆附加信息
 *
 * @author lzh
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@JsonIncludeProperties({"DJZS", "DJFHBFB", "DCDY", "DCDL", "DCDLBFB"})
public class ObdAdditionalInfo {
    private String id;
    /**
     * 电机转速
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY, value = "DJZS")
    private String motorSpeed;
    /**
     * 电机负荷百分比
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY, value = "DJFHBFB")
    private String motorLoadPercentage;
    /**
     * 电池电压
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY, value = "DCDY")
    private String batteryVoltage;
    /**
     * 电池电流
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY, value = "DCDL")
    private String batteryCurrent;
    /**
     * 电池电量百分比
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY, value = "DCDLBFB")
    private String batteryLevelPercentage;
}
